package com.dd.web.base.entity.view;

import com.dd.common.entity.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Setter;
import org.apache.commons.lang.StringUtils;

/**
 * 字典数据列表页面查询条件类
 */
@ApiModel("字典数据列表页面查询条件类")
@Setter
public class DictListParam extends PageParam {


    @ApiModelProperty("字典类型")
    private String dictType;

    public String getDictType() {

        return StringUtils.isNotBlank(this.dictType)?this.dictType:null;
    }


    @ApiModelProperty("状态")
    private String status;

    public String getStatus() {
        return StringUtils.isNotBlank(this.status)?this.status:null;
    }

}
